-- GENERATED SPELL FOR [Garg] --


function spell0_23745(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(53824,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23745', 500, 1)
end

function Sorts_23745(pUnit, Event)
local choix_sorts_23745 = math.random(0, 0)
if choix_sorts_23745 == 0 then
pUnit:RegisterEvent('spell0_23745', 1, 1)
end
end

function mob23745_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23745', math.random(1500, 3000), 1)
end

function mob23745_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23745_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23745_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23745, 1, 'mob23745_Action')
RegisterUnitEvent(23745, 2, 'mob23745_Leave')
RegisterUnitEvent(23745, 3, 'mob23745_Kill')
RegisterUnitEvent(23745, 4, 'mob23745_Die')
